package com.auxgroup.hr.front.dao.domain;

import java.io.Serializable;
import java.util.Date;

import org.apache.commons.lang.builder.ToStringBuilder;

/** 
 * @author lvliuhao 
 * @version 创建时间：2018年7月19日 下午10:08:00 
 * 类说明 
 */
public class PsCPyModVwPrimary implements Serializable {

	private static final long serialVersionUID = -6936713094332704287L;

	private Date effdt;

	private String emplid;

	public Date getEffdt() {
		return effdt;
	}

	public void setEffdt(Date effdt) {
		this.effdt = effdt;
	}

	public String getEmplid() {
		return emplid;
	}

	public void setEmplid(String emplid) {
		this.emplid = emplid;
	}

	/* (non-Javadoc)
	 * @see java.lang.Object#hashCode()
	 */
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((effdt == null) ? 0 : effdt.hashCode());
		result = prime * result + ((emplid == null) ? 0 : emplid.hashCode());
		return result;
	}

	/* (non-Javadoc)
	 * @see java.lang.Object#equals(java.lang.Object)
	 */
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		PsCPyModVwPrimary other = (PsCPyModVwPrimary) obj;
		if (effdt == null) {
			if (other.effdt != null)
				return false;
		} else if (!effdt.equals(other.effdt))
			return false;
		if (emplid == null) {
			if (other.emplid != null)
				return false;
		} else if (!emplid.equals(other.emplid))
			return false;
		return true;
	}
	
	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this);
	}
}
 